import Vue from 'vue'
import App from './App'
import http from '@/static/js/http.js'
import {file_url} from '@/static/js/config.js'
import verify from '@/static/js/verify.js'
import utils from '@/static/js/utils.js'
import icon from '@/static/js/icon.js'


Vue.config.productionTip = false
//请求
Vue.prototype.$http = http;
// 图片地址
Vue.prototype.$file = file_url;
// 表单验证
Vue.prototype.$verify = verify;
// 工具函数
Vue.prototype.$utils = utils;
// 图片资源
Vue.prototype.$icon = icon;

// 引入vuex 状态库
import store from "./store";
Vue.prototype.$store = store;

App.mpType = 'app'

const app = new Vue({
  ...App,
  store
})
app.$mount()
